package com.test3;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.FileSystemXmlApplicationContext;

public class BeanTest
{

	/**
	 * @param args
	 */
	public static void main(String[] args)
	{
		ApplicationContext ctx = new FileSystemXmlApplicationContext("applicationContext.xml");
		Person p = (Person)ctx.getBean("chinese3");
		p.useAxe();
	}

}
